package com.ruoyi.device.domain;

import java.util.Date;

/**
 * Register 实体类对应数据库中的 register 表
 */
public class Register {
    /** 主键 */
    private Long regId;

    /** 归属部门id */
    private Long regDeptId;

    /** 归属部门 */
    private String regDept;

    /** 工号/学号 */
    private String regCode;

    /** 姓名 */
    private String regName;

    /** 手机号码 */
    private String regMobile;

    /** 登录密码 */
    private String regPassword;

    /** 小程序openid */
    private String regOpenid;

    /** 注册状态，0待审核，1审核通过，2审核不通过 */
    private Integer regStatus;

    /** 审核说明 */
    private String regRemark;

    /** 创建人id */
    private Long createBy;

    /** 创建时间 */
    private Date createTime;

    /** 更新人id */
    private Long updateBy;

    /** 更新时间 */
    private Date updateTime;

    public Long getRegId() {
        return regId;
    }

    public void setRegId(Long regId) {
        this.regId = regId;
    }

    public Long getRegDeptId() {
        return regDeptId;
    }

    public void setRegDeptId(Long regDeptId) {
        this.regDeptId = regDeptId;
    }

    public String getRegDept() {
        return regDept;
    }

    public void setRegDept(String regDept) {
        this.regDept = regDept;
    }

    public String getRegCode() {
        return regCode;
    }

    public void setRegCode(String regCode) {
        this.regCode = regCode;
    }

    public String getRegName() {
        return regName;
    }

    public void setRegName(String regName) {
        this.regName = regName;
    }

    public String getRegMobile() {
        return regMobile;
    }

    public void setRegMobile(String regMobile) {
        this.regMobile = regMobile;
    }

    public String getRegPassword() {
        return regPassword;
    }

    public void setRegPassword(String regPassword) {
        this.regPassword = regPassword;
    }

    public String getRegOpenid() {
        return regOpenid;
    }

    public void setRegOpenid(String regOpenid) {
        this.regOpenid = regOpenid;
    }

    public Integer getRegStatus() {
        return regStatus;
    }

    public void setRegStatus(Integer regStatus) {
        this.regStatus = regStatus;
    }

    public String getRegRemark() {
        return regRemark;
    }

    public void setRegRemark(String regRemark) {
        this.regRemark = regRemark;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Register{" +
                "regId=" + regId +
                ", regDeptId=" + regDeptId +
                ", regDept='" + regDept + '\'' +
                ", regCode='" + regCode + '\'' +
                ", regName='" + regName + '\'' +
                ", regMobile='" + regMobile + '\'' +
                ", regPassword='" + regPassword + '\'' +
                ", regOpenid='" + regOpenid + '\'' +
                ", regStatus=" + regStatus +
                ", regRemark='" + regRemark + '\'' +
                ", createBy=" + createBy +
                ", createTime=" + createTime +
                ", updateBy=" + updateBy +
                ", updateTime=" + updateTime +
                '}';
    }
}
